package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: robert.song
 * @Date: Created in 2022/12/25
 */
@RestController("/")
public class TestController {
    @GetMapping("test")
    public static String test(){
        return "hello world";
    }
}
